/**
 * 
 */
package com.cyou.qb.common.service.mock;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Component;

import com.cyou.nad.datastore.query.JdbcPage;
import com.cyou.nad.utils.DateUtils;
import com.cyou.qb.common.domain.BlackList;
import com.cyou.qb.common.service.BlackListService;
import com.cyou.qb.system.ServiceContext;

/**
 * @author zoudongchao
 *
 */
@Component("BlackListServiceMock")
public class BlackListServiceMock implements BlackListService {

	private BlackList newOneBlackList(String passport, Date curr){
		BlackList blackList = new BlackList();
		blackList.setId(111);
		blackList.setStartTime(DateUtils.parseDate("2012-09-20 10:10:10", DateUtils.format));
		blackList.setStartTime(DateUtils.parseDate("2012-09-25 10:10:10", DateUtils.format));
		blackList.setNickname("tinkerz");
		blackList.setCreateDate(DateUtils.parseDate("2012-09-22 10:10:10", DateUtils.format));
		blackList.setMemo("小封一下");
		blackList.setuCenterId(0);
		blackList.setPassport(passport);
		return blackList;
	}
	
	public BlackList findBlackList(int uCenterId,String passport, Date curr){
			return null;
	}
	
	@Override
	public void setServiceContext(ServiceContext serviceContext) {
	}

	@Override
	public ServiceContext getServiceContext() {
		return null;
	}


	@Override
	public JdbcPage findPageQueryBlackList(String passport, String nickname, int pageNo, int pageSize) {
		return null;
	}

	@Override
	public void removeBlackList(int blackListId) throws Exception {
		
	}

	@Override
	public List<BlackList> findBlackList(String passport, Date now) {
		return null;
	}

	@Override
	public int saveBlackList(int uCenterId, String passport, String nickName, Date start, Date end, String forbidden,
			String memo) {
		return 0;
	}

	@Override
	public List<BlackList> findAllValidBlackList() {
		return null;
	}

	@Override
	public void freeServiceContextContext() {
		// TODO Auto-generated method stub
		
	}

}
